﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage_User.master" AutoEventWireup="true" CodeFile="Phim.aspx.cs" Inherits="Phim" Title="Untitled Page" %>
<%@ Register assembly="CollectionPager" namespace="SiteUtils" tagprefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
        <table class="style5">
            <tr>
                <td>
                    <table cellpadding="0" cellspacing="0" class="style5">
                        <tr>
                            <td>
                                <asp:Label ID="lbInform" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
        <asp:DataList ID="DataList1" runat="server" BorderColor="#999999"
                        DataKeyField="MaPhim" RepeatColumns="4" onitemcommand="DataList1_ItemCommand1" 
                                    BackColor="#CCCCCC" BorderStyle="Solid" BorderWidth="3px" CellPadding="4" 
                                    CellSpacing="2" ForeColor="Black" GridLines="Both">
            <FooterStyle BackColor="#CCCCCC" />
            <ItemStyle BackColor="White" />
            <SelectedItemStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
        <ItemTemplate>
            <table cellpadding="0" cellspacing="0" class="style3">
                <tr>
                    <td>
                        <asp:HyperLink ID="hlHinh" runat="server" 
                            ImageUrl='<%# Eval("HinhAnh","~/Pictures/CD/{0}") %>' 
                            NavigateUrl='<%# Eval("MaPhim","ChiTietPhim.aspx?idcd={0}") %>' 
                            Height="165px" Width="130px">[hlHinh]</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="hlChiTiet" runat="server" Font-Underline="False" 
                            ForeColor="#3399FF" 
                            NavigateUrl='<%# Eval("MaPhim","ChiTietPhim.aspx?idcd={0}") %>' 
                            Text='<%# Eval("TenPhim") %>'></asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lbGia" runat="server" 
                            Text='<%# Eval("GiaThue","{0:#,###}") %>'></asp:Label>
                        &nbsp;VNĐ</td>
                </tr>
                <tr>
                    <td>
                        <asp:LinkButton ID="LinkButton1" runat="server" 
                            CommandArgument='<%# Eval("MaPhim") %>' CommandName="thue">Thuê</asp:LinkButton>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                    <cc1:CollectionPager ID="CollectionPager1" runat="server" LabelText="" 
                        ResultsFormat="" BackText="« Lùi" NextText="Tiếp »" PageSize="8" 
                        SectionPadding="10" SliderSize="5">
                    </cc1:CollectionPager>
                </td>
            </tr>
        </table>
</asp:Content>

